              <?php #//AJAX PHP PENNY AUCTION v.1.1

#///////////////////////////////////////////////////////////
#//  COPYRIGHT 2009 Aaron Helmlinger ALL RIGHTS RESERVED  //
#///////////////////////////////////////////////////////////


?>


    <? /*
 
 <!--------READ READ READ READ READ READ READ READ-------->
<!--------READ READ READ READ READ READ READ READ-------->
<!--------READ READ READ READ READ READ READ READ-------->
<!----------- The Following Varaibles Are Available For Use In The ITEM PAGE ------------->
<!-- The $variable name must be not changed in order for the item show in the browser -------->
<!-- You can place these variables between <DIV> </DIV> or <SPAN> </SPAN> tags for CSS markup --------->
<!-- NOTE: To use a $variable it needs to be placed in PHP < ? ? > brackets as you can see below ------>

                                      <!--
Categories List 
----------------------------------------- 
$categories_select        Setup In Admin
$categories_list          Setup In Admin   
                       
Current Time 
----------------------------------------      
$current_date_time        Setup In Admin
                                          
User Counter
----------------------------------------        
$users_online_counter 
                                         
Page Info 
----------------------------------------                                 
$page_title               Setup In Admin   
$logo                     Setup In Admin       
$meta_tag_description     Setup In Admin       
$meta_tag_keywords        Setup In Admin       
    
                                       
Login Form
----------------------------------------                                
$header_login_form_complete   
$header_login_form_start  
$header_login_form_username_label     
$header_login_form_username_input    
$header_login_form_password_label    
$header_login_form_password_input    
$header_login_form_remember_me_checkbox_and_label  
$header_login_form_remember_me_hidden     
$header_login_form_submit_button         
$header_login_form_forgot_password_link    
$header_login_form_end     
                              
Search Form 
----------------------------------------                  
$search_form     
                             
Links
----------------------------------------                       
$home_link      
$logout_link           
$register_link           
$user_login_link    
$forgot_password_link  
$search_link          
$browse_categories_link 
$buy_bids_link  
$about_us_link  
$contact_us_link 
$help_link      
$feedback_link  
$live_auction_link 
$upcoming_auction_link  
$send_to_a_friend_link  
$privacy_policy_link 
$terms_and_conditions_link 
 
** These links should only be 
** shown to logged in users.

$edit_profile_link 
$item_watch_link  
$user_bids_link  
$user_wins_link  
$user_payments_link 

Plain Text Info                         
-----------------------------------------
$user_email		             
$user_real_name            
$user_name                
$user_bids_remaining      

ITEM PAGE ONLY VARIABLES
----------------------------------------- 
$MSG_041 = "Item Category"
$item_category_heading
$item_photo_gallery 
$item_title 
$item_auction_id  
$item_photo_gallery_main_link 
$tell_a_friend_link  
$watch_item_link  
$item_bid_history_link 
$item_retail_price
$item_current_bid 
$item_current_high_bidder 
$item_custom_increment 
$item_number_of_bids_total 
$item_payments_accepted 
$item_shipping_terms   
$item_shipping_fee  
$item_return_policy   
$item_page_counter 
$item_description  
                     
     -->    
<!---------------- End ITEM Display Variables ------------------->      


 */
 
 ?>
      
            <? 
       
       $tabid = 0;
  include "tab_menu.php";
  $subtabid = "logout";
  include "tab_submenu.php";
  include "category_menu.php";
  //$page_title_text = $ITEM_PAGE_LIVE_AUCTTION_ITEM;
  $page_title_note = "";
  include "item_page_title.php";
  ?>            
      
     <? print $tab_menu ?>
     <? //print $tab_submenu ?>
     <? print $category_menu ?>  
    
 
          <DIV class=CATEGORY_BOX_ON > <!-- To Turn Off Header Change The \"class\" to \"CATEGORY_BOX_OFF\" -->

       
               <? print $categories_graphic_select_menu; ?>
          
                 <? print $graphic_search_form; ?>
                 
<DIV style="text-align:center; width:144px; height:30px; border:0px solid black; float:left;">
  

  
  </DIV>
 
<DIV style="text-align:center; width:100px; height:30px; border:0px solid black; float:left; font-size:25px; color:black;" id="BIDSID" >


                                                          <?php
  
    if($_SESSION["PHPAUCTION_LOGGED_IN"]) {    
  
  $id2 = $_SESSION["PHPAUCTION_LOGGED_IN"];
  
  $query = mysql_fetch_array(mysql_query("SELECT bids_remaining FROM PHPAUCTIONXL_users WHERE id=$id2 "));
  
  echo $query['bids_remaining'];
  
 ?>
   
  
    
  <?php
        } else {
         
?>


<A href=user_login_form.php ><img src=images/login2.jpg></A>
  
  <? } ?>


</DIV>  
                        <DIV style="width:120px; height:30px; border:0px solid black; float:left;" >
                        
                        
                        
                        
                        
</DIV>  
                 <DIV style="width:150px; height:30px; border:0px solid black; float:left;">
                 
                 <A HREF=buybids.php ><img src=images/bid_button_invisible.gif ></A>
</DIV>  
    
                    </DIV> 
     

             <? print $item_page_title_content_box_start; ?>
    
<!-- <DIV CLASS=ITEM_CATEGORY_LABEL_TEXT>$MSG_041 = "Category"$MSG_041 ?>:</DIV><DIV CLASS=ITEM_CATEGORY_TEXT> $item_category_heading; ?> </DIV>        -->


        


     <DIV style="margin-top:-55px; padding-bottom:55px; ">
                        
<DIV CLASS="ITEM_TITLE_TEXT">
 <? print $item_title; ?>
 </DIV>
 






<DIV CLASS="ITEM_ADD_TO_WATCH_LINK"> 
 <? print $watch_item_link; ?> 
</DIV>
<DIV CLASS="ITEM_TELL_A_FRIEND_LINK"> 
 <? print $tell_a_friend_link ?> 
</DIV>

<DIV CLASS="ITEM_AUCTION_ID_TEXT">
<? print $MSG_113; ?>: <? print $item_auction_id; ?> 
</DIV>

    </DIV>

    
<DIV CLASS="ITEM_MAIN_PICTURE_BOX">

<DIV CLASS="ITEM_MAIN_PICTURE">

<? print $item_photo_gallery_main_link; ?> 

</DIV>

            <BR> 
            <? if ( $currentbidd ) { ?>
     <CENTER> <? print $comparison; ?> </center>
     <? } ?>
                 <? if ( !$currentbidd ) { ?>
     <CENTER><B> <BR> </B></center>
     <? } ?>
              <BR>
              
              
              
  <DIV CLASS="ITEM_MAIN_PICTURE1">
<? print $item_photo_gallery; ?>
      </DIV>
       
      
  
</DIV>

 
  











<span id="retailprice" style=display:none; >$item_retail_price</span>




                                    <DIV class=ITEM_BOX >

<DIV CLASS="ITEM_CURRENT_BID_BOX" >

<DIV CLASS="ITEM_CURRENT_BID2_TEXT" ID="ITEM_CURRENT_BID1">

<span id=reserve_currency_symbol_get ><? print $currency_symbol; ?></span><SPAN ID="itemcurrentbid1"><? print print_money_nosymbol($item_current_bid); ?></SPAN> 

</DIV>

</DIV>
   
   <? if ( $notimer == 0 ) { ?>
   
<DIV CLASS="ITEM_CURRENT_TIME_BOX" ID="time" >
</DIV>
                               <? } ?> 
                               
   <? if ( $notimer == 1 ) { ?>
   
<DIV CLASS="ITEM_CURRENT_TIME_BOX" style="display:none;" ID="time" >
</DIV>  
<DIV CLASS="ITEM_CURRENT_TIME_BOX" >
</DIV>
                               <? } ?>


    
<DIV CLASS="ITEM_CURRENT_BIDDER_TEXT">

<? print $ITEM_PAGE_BIDDER; ?>:<BR> 

</DIV>
 
  <DIV CLASS="ITEM_CURRENT_BIDDER_AVATAR">

  <img src="images/avatar/avatar-blank.jpg" name="avatar1">


</DIV>
 
   <DIV CLASS="ITEM_CURRENT_BIDDER_TEXT2">
 <SPAN ID="item_current_bidder1"><? print $item_current_high_bidder; ?></SPAN>
 
     </DIV>
     
    
    

<DIV CLASS="ITEM_BID_BUTTON_GRAPHIC">


<!--------READ READ READ READ READ READ READ READ-------->
<!--------READ READ READ READ READ READ READ READ-------->
<!--------READ READ READ READ READ READ READ READ-------->
<!-- IT IS OKAY TO CHANGE THE IMAGES BELOW FOR THE BID BUTTON -->
<!-- IS STRONGLY SUGGESTED THAT YOU LEAVE THE REST ALONE -->

<!--NOTE: There is also an image in the ItemPageInfo 
      Javascript Function Located in the global_ajax.js in the JS directory -->  


<?  
               if($not_open )   {    ?>
                         
<IMG  SRC="images/bid_button_large_6<? print $USERLANG; ?>.jpg" NAME="itembidbutton" ID="ibb" BORDER=0 ALT='Bid Button'>
                   
                      <?  } ?>
                       <?  
               if(!$not_open )   {  
        IF($_SESSION["PHPAUCTION_LOGGED_IN"]) {
          	/* user is logged in, give link to edit data or log out */
	  	?>

<A ONMOUSEOVER="button('itembidbutton','images/bid_button_large_3<? print $USERLANG; ?>.jpg'); this.style.cursor='pointer'" 
                              
                              
ONCLICK="bid('<? print $item_auction_id; ?>'); 


button('itembidbutton','images/bid_button_large_4<? print $USERLANG; ?>.jpg')"


ONMOUSEOUT="button('itembidbutton','images/bid_button_large_1<? print $USERLANG; ?>.jpg')" ID="iibb">

<IMG  SRC="images/bid_button_large_1<? print $USERLANG; ?>.jpg" NAME="itembidbutton" ID="ibb" BORDER=0 ALT='Bid Button'>

</A>
        <?
if ( $paused1 == 0 ) {   ?>

<DIV style=display:none; >
<A ONCLICK="bid('<? print $item_auction_id; ?>');" ONMOUSEOUT="button('itembidbutton','images/bid_button_large_1<? print $USERLANG; ?>.jpg')" ONMOUSEOVER="button('itembidbutton','images/bid_button_large_3<? print $USERLANG; ?>.jpg'); this.style.cursor='pointer'" ID="iibbhidden">
</A></DIV>

                   <?  } ?>
                   
                           <?
if ( $paused1 == 1 ) {   ?>

<DIV style=display:none; >
<A ONCLICK="bid();" ID="iibbhidden">
</A></DIV>

                   <?  } ?>


<?     } ELSE {
           
          	/* user not logged in, give link to register or login */
		?>
           
     <A HREF=user_login_form.php><IMG SRC="images/bid_button_large_2<? print $USERLANG; ?>.jpg" NAME="itembidbutton" ID="ibb" BORDER="0" ALT='Login Button'></A>
<DIV style=display:none; >
<A ONMOUSEOUT="button('itembidbutton','images/bid_button_large_1<? print $USERLANG; ?>.jpg')" ONCLICK="bid('<? print $item_auction_id; ?>');" ONMOUSEOVER="button('itembidbutton','images/bid_button_large_3<? print $USERLANG; ?>.jpg'); this.style.cursor='pointer'" ID="iibbhidden">
</A></DIV>
    <? } } ?>
     
    </DIV>

 
<!---------------------------------------------------------> 
          
         <? if ( $reserve1 == 1 ) { ?>
  
<SPAN CLASS="ITEM_RESERVE" id="item_reserve_price" >
  
    
    </SPAN>
    
       <? } ?>
    
    
                      <? if ( $reserve1 == 0 ) { ?>
  
  <SPAN CLASS="ITEM_RESERVE" id="item_reserve_price" style="display:none;" >
  
    
    </SPAN>
    
       <? } ?>
       
       
       
    <DIV CLASS="ITEM_BID_INCREMENT_TEXT">
<? print $MSG_120; ?> : </DIV>  <DIV CLASS="ITEM_BID_INCREMENT_TEXT2"><? print $currency_symbol; ?><? //print $item_custom_increment; ?><? print print_money_nosymbol($item_custom_increment); ?>
</DIV>
   <DIV CLASS="ITEM_BID_INCREMENT_TEXT">
<? print $ITEM_PAGE_BID_CREDITS_REQUIRED; ?> : </DIV>  <DIV CLASS="ITEM_BID_INCREMENT_TEXT2"><? print $bid_credits_reqd1; ?>
</DIV> 


  <DIV CLASS="ITEM_BID_INCREMENT_TEXT">
<? print $ITEM_PAGE_TIME_EXT_ACTIVATE; ?> : </DIV>  
<DIV CLASS="ITEM_BID_INCREMENT_TEXT2"><? print $auto_extend_activated; ?> Sec.
</DIV>     
   <DIV CLASS="ITEM_BID_INCREMENT_TEXT">
<? print $ITEM_PAGE_TIME_EXT_INCREMENT; ?> : </DIV>  <DIV CLASS="ITEM_BID_INCREMENT_TEXT2"><? print $auto_extend_incremented; ?> Sec.
</DIV> 
<DIV CLASS="ITEM_BID_INCREMENT_TEXT">
<? print $ITEM_PAGE_TIME_EXT_TYPE; ?> : </DIV>  <DIV CLASS="ITEM_BID_INCREMENT_TEXT2"><? print $hard_reset1; ?> 
</DIV>             
 
           <? 
      if ( $seat_qty != 0 ) { ?>
    
       <DIV class="ITEM_SEATS_TAKEN" >
    
   <? print $SEATS_TAKEN; ?> <SPAN ID=seatstaken1 ></SPAN>&nbsp;<? print $OF; ?> <SPAN ID=seatsqty ><? print $seat_qty; ?></SPAN>
  
     </DIV>
    
             <? } ?>
             
                <? 
      if ( $seat_qty == 0 ) { ?>
    
       <DIV CLASS="ITEM_SEATS_TAKEN" style="display:none;" >
    
    <? print $SEATS_TAKEN; ?> <SPAN ID=seatstaken1 ></SPAN> &nbsp;<? print $OF; ?> <SPAN ID=seatsqty> <? print $seat_qty; ?></SPAN>
   
       </DIV>
    
             <? } ?>    
    
                     </DIV> 
    
    
    
    
    
    
    
    
    
         <DIV class=ITEM_BOX2 >
    
    <DIV CLASS="ITEM_BID_HISTORY_BOX" >
    
  <DIV CLASS="ITEM_BID_HISTORY_BOX_TITLE" >
  
  
    <? print $ITEM_PAGE_BIDDING_HISTORY; ?>
  
  </DIV>  
    
    
    
    <DIV CLASS="ITEM_BID_HISTORY_AMOUNT_TEXT">
      <B>  <? print $MSG_440; ?>:</B><BR>
<? print $currency_symbol; ?><SPAN ID="bidamount11"> -- </SPAN><BR>
<? print $currency_symbol; ?><SPAN ID="bidamount22"> -- </SPAN><BR>
<? print $currency_symbol; ?><SPAN ID="bidamount33"> -- </SPAN><BR>
<? print $currency_symbol; ?><SPAN ID="bidamount44"> -- </SPAN><BR> 
<? print $currency_symbol; ?><SPAN ID="bidamount55"> -- </SPAN><BR>

       <SPAN >  </SPAN><BR>

    </DIV>
    
        <DIV CLASS="ITEM_BID_HISTORY_BIDDER_TEXT">
        <B>    <? print $MSG_176; ?>:</B> <BR>
<SPAN ID="bidder11"> -- </SPAN><BR>
<SPAN ID="bidder22"> -- </SPAN><BR> 
<SPAN ID="bidder33"> -- </SPAN><BR> 
<SPAN ID="bidder44"> -- </SPAN><BR>
<SPAN ID="bidder55"> -- </SPAN><BR> 
 
    <SPAN >  </SPAN><BR>

    </DIV>
    
            <DIV CLASS="ITEM_BID_HISTORY_TIME_TEXT">
    
     <B>  <? print $ITEM_PAGE_TIME; ?>: </B><BR>
<SPAN ID="time11"> -- </SPAN><BR>
<SPAN ID="time22"> -- </SPAN><BR> 
<SPAN ID="time33"> -- </SPAN><BR> 
<SPAN ID="time44"> -- </SPAN><BR> 
<SPAN ID="time55"> -- </SPAN><BR>

<SPAN >  </SPAN><BR>

        </DIV>
        
             <DIV CLASS="ITEM_BID_HISTORY_TYPE">
    
     <B>  <? print $ITEM_PAGE_TYPE; ?>: </B><BR>
<SPAN ID="bidtype11"> -- </SPAN><BR>
<SPAN ID="bidtype22"> -- </SPAN><BR> 
<SPAN ID="bidtype33"> -- </SPAN><BR> 
<SPAN ID="bidtype44"> -- </SPAN><BR> 
<SPAN ID="bidtype55"> -- </SPAN><BR>

<SPAN >  </SPAN><BR>

        </DIV>       
        
          <DIV CLASS="ITEM_BID_HISTORY_NUMBER_OF_BIDS_TEXT">
    
    # Of Bids: <SPAN ID=bids2><? print $item_number_of_bids_total; ?></SPAN> &nbsp;&nbsp;&nbsp;
  
     </DIV>
  
  <DIV CLASS="ITEM_BID_HISTORY_LINK_TEXT">
  
  <? print $item_bid_history_link; ?>   
    
    </DIV>
        
       <DIV CLASS="ITEM_BID_HISTORY_LAST_5_MIN">
  
  <span id="5min5"><B>0</B></span> <? print $ITEM_PAGE_BIDDING_HISTORY_LAST_FIVE_MIN; ?>  
    
    </DIV>  
        
        
        
    </DIV>
   
                              
  <? if ( $autobidder_activated == 1 && $win_limits != 1 && $allow_autobidder2 == 1 ) {  ?>
    
       <FORM NAME=conf ACTION=<?=basename($_SERVER['PHP_SELF'])?> METHOD=POST>
                       
    
  <DIV CLASS="ITEM_PAGE_AUTOBIDDER_BOX" >
        <DIV CLASS="ITEM_BID_AUTOBIDDER_TITLE" >
  
  
    <? print $ITEM_PAGE_AUTOBIDDER_SETTINGS_TITLE; ?>
  
  </DIV>  
  
  
  <DIV CLASS="ITEM_AUTOBIDDER_START_PRICE_TEXT" >
  
  
                    
                              <? print   $ITEM_PAGE_AUTOBIDDER_STARTING_PRICE_TEXT; ?>:
  </DIV> 
       
         <DIV CLASS="ITEM_AUTOBIDDER_INPUT" >
                  <div class="EDITDATA3">
  <? print $currency_symbol; ?> <input type=text class=EDITDATA44 name=startprice size=4 maxlength=8 value="<?=$startprice ?>" />
     </div>
  </DIV> 
  
  
  
  
  
      <DIV CLASS="ITEM_AUTOBIDDER_MAXPRICE_TEXT" >
                                                              
  
                       <? print $ITEM_PAGE_AUTOBIDDER_MAX_PRICE_TEXT; ?>:
  
  </DIV> 
       
         <DIV CLASS="ITEM_AUTOBIDDER_INPUT" >
                 <div class="EDITDATA3">
  <? print $currency_symbol; ?> <input type=text class=EDITDATA44 name=maxprice size=4 maxlength=8 value="<?=$maxprice ?>" />
              </div>
  </DIV> 
       
        <DIV CLASS="ITEM_AUTOBIDDER_MAXBIDS_TEXT">
     <? print $ITEM_PAGE_AUTOBIDDER_MAX_BIDS_TEXT; ?>:
    </DIV>
      <DIV CLASS="ITEM_AUTOBIDDER_INPUT">
      <div class="EDITDATA3">
 <input type=text class=EDITDATA44 name=maxbids size=4 maxlength=8 value="<?=$maxbids ?>" />
 </div>
        </DIV>
  
         <DIV CLASS="ITEM_AUTOBIDDER_MAXBIDS_TEXT">
             <input type=submit name="" value="<? print $ACTIVATE; ?>" class=button2  />
             <input type=hidden class=EDITDATA44 name=userid size=4 maxlength=8 value="<?=$userid ?>" />
                 <input type=hidden class=EDITDATA44 name=itemid size=4 maxlength=8 value="<?=$itemid ?>" />
                 <input type=hidden class=EDITDATA44 name=update_autobidder size=4 maxlength=8 value="1" />
     </form>
     
     
    </DIV>
    <FORM NAME=conf1 ACTION=<?=basename($_SERVER['PHP_SELF'])?> METHOD=POST>
      
      <DIV CLASS="ITEM_AUTOBIDDER_MAXBIDS_TEXT2" style="text-align:left;" >
                      <input type=hidden class=EDITDATA44 name=userid size=4 maxlength=8 value="<?=$userid ?>" />
                 <input type=hidden class=EDITDATA44 name=itemid size=4 maxlength=8 value="<?=$itemid ?>" />
                 <input type=hidden class=EDITDATA44 name=update_autobidder size=4 maxlength=8 value="1" />
                 <input type=hidden class=EDITDATA44 name=maxbids size=4 maxlength=8 value="0" />
                    <input type=hidden class=EDITDATA44 name=maxprice size=4 maxlength=8 value="0" />   
                       <input type=hidden class=EDITDATA44 name=startprice size=4 maxlength=8 value="0" />
                        <input type=submit name="" value="<? print $DEACTIVATE; ?>" class=button2  />
                         </form>
      
        </DIV> 
                                      <DIV CLASS="ITEM_AUTOBIDDER_HELP_TEXT">
  
     <a style="margin-top:-5px;" href=autobidder.php ><? print $ITEM_PAGE_AUTOBIDDER_HELP_STRATEGY_LINK; ?></A>
    </DIV> 
   
   
   
   </DIV>
                  
    
               
  <? } ?>        
           
          
           <? if ( $autobidder_activated == 0 || $allow_autobidder2 == 0 ) {  ?>
    
        <DIV CLASS="ITEM_PAGE_AUTOBIDDER_BOX" style="display:none;">
    
       <FORM NAME=conf ACTION=<?=basename($_SERVER['PHP_SELF'])?> METHOD=POST>

 <input type=hidden class=EDITDATA44 name=maxbids size=4 maxlength=8 value="<?=$maxbids ?>" />

     </form>
    
           </DIV>    
  <? } ?>  
  
  

      <? if ( $autobidder_activated == 1 && $win_limits == 1 && $allow_autobidder2 == 1 ) {  ?>
          
           
    <DIV CLASS="ITEM_PAGE_AUTOBIDDER_BOX"> 
    
              
          <? if ( $unpaid_limits == 1 ) { $win_limits = 0; ?>      
                
                
                <DIV CLASS="ITEM_AUTOBIDDER_LIMIT_TEXT" style="text-align:center; font-size:12px;">
   <BR><BR><BR><BR><BR> <font color="red" ><? print $PLEASE_PAY; ?></font>
    </DIV>     
                
              <? } ?>    
                
             <? if ( $beginner_limits == 1 ) { $win_limits = 0; ?>      
                
                
                <DIV CLASS="ITEM_AUTOBIDDER_LIMIT_TEXT" style="text-align:center; font-size:12px;">
   <BR><BR><BR><BR><BR> <font color="red" ><? print $MSG_BEGINNER_WIN_LIMIT; ?></font>
    </DIV>     
                
              <? } ?>    
                           
                     <? if ( $elite_limits == 1 ) { $win_limits = 0; ?>      
                
                
                <DIV CLASS="ITEM_AUTOBIDDER_LIMIT_TEXT" style="text-align:center; font-size:12px;">
   <BR><BR><BR><BR><BR> <font color="red" ><? print $MSG_ELITE_WIN_LIMIT; ?></font>
    </DIV>     
                
              <? } ?>    
                          
                          
                                             <? if ( $seat_limits == 1 ) { $win_limits = 0; ?>      
                
                
                <DIV CLASS="ITEM_AUTOBIDDER_LIMIT_TEXT" style="text-align:center; font-size:12px;">
   <BR><BR><BR><BR><BR> <font color="red" ><? print $MSG_SEATS_FULL; ?></font>
    </DIV>     
                
              <? } ?> 
                          
                                             <? if ( $lockout_limits == 1 ) { $win_limits = 0; ?>      
                
                
                <DIV CLASS="ITEM_AUTOBIDDER_LIMIT_TEXT" style="text-align:center; font-size:12px;">
   <BR><BR><BR><BR><BR> <font color="red" ><? print $MSG_LOCKOUT; ?></font>
    </DIV>     
                
              <? } ?>                         
                
                <? if ( $win_limits == 1 ) { ?> 
            
   <DIV CLASS="ITEM_AUTOBIDDER_LIMIT_TEXT" style="text-align:center; font-size:12px;">
   <BR><BR><BR><BR><BR> <font color="red" ><? print $win_limit_note; ?></font>
    </DIV>  
               <? } ?>
                
                
                 </DIV>  
        
               <FORM NAME=conf ACTION=<?=basename($_SERVER['PHP_SELF'])?> METHOD=POST>

 <input type=hidden class=EDITDATA44 name=maxbids size=4 maxlength=8 value="<?=$maxbids ?>" />

     </form>
     
       <? } ?>    
       
       
          
  
   
       
    
       

                
          </DIV>        
          
          
          
        
                   
  <DIV CLASS="INFO_TEXT">
  <DIV CLASS="ITEM_PAYMENT_TEXT">
  
 <SPAN CLASS="BOLDTEXT"> <? print $MSG_026; ?>: </SPAN> <BR>
  <? print $item_payments_accepted; ?>
  </DIV>
  
    <DIV CLASS="ITEM_SHIPPING_TEXT">
  
 <SPAN CLASS="BOLDTEXT"> <? print $ITEM_PAGE_SHIPPING_HANDLING; ?>: </SPAN> <BR>
         <? print               $item_shipping_terms   ; ?> 
  <? print $MSG_AJAX_ADMIN_SELL_SHIPPING_FEE; ?>: <? print $currency_symbol; ?><? print print_money_nosymbol($item_shipping_fee); ?> <? print $currency; ?>

  </DIV>
  
    <DIV CLASS="ITEM_RETURN_POLICY_TEXT">
  
  
  <SPAN CLASS="BOLDTEXT"> <? print $MSG_AJAX_ADMIN_SELL_RETURN_POLICY; ?>: </SPAN> <BR>
  <? print $item_return_policy; ?>
  
  
 <BR>
  
  
  
  </DIV>     </DIV>

<? if ( $savings1 == 1 ) { ?>
  
  <DIV CLASS="ITEM_SAVINGS_BOX">
    
       <? } ?>
    
    
                      <? if ( $savings1 == 0 ) { ?>
                 <DIV CLASS="ITEM_SAVINGS_BOX" style="background-image:none;"></div>
  <DIV CLASS="ITEM_SAVINGS_BOX" style="display:none;">
    
       <? } ?>
       

  <DIV CLASS="ITEM_SAVINGS_BUYNOW_HEADER">
  <? print $ITEM_PAGE_SAVINGS_HEADER; ?>       
  </DIV>
  <DIV CLASS="ITEM_SAVINGS_BUYNOW_TEXT">
  + <? print $MSG_RETAIL_VALUE; ?>:        
  </DIV>
  <DIV CLASS="ITEM_SAVINGS_BUYNOW_DATA">
  <? print $currency_symbol; ?><? print print_money_nosymbol($item_retail_price); ?>    
  </DIV>  
   <DIV CLASS="ITEM_SAVINGS_BUYNOW_TEXT">
  - <? print $ITEM_PAGE_SAVINGS_CURRENT_BID; ?>:        
  </DIV>
  <DIV CLASS="ITEM_SAVINGS_BUYNOW_DATA" id="savings_current_bid2">
  <? print $currency_symbol; ?><? print print_money_nosymbol($item_current_bid); ?>       
  </DIV>  
 <DIV CLASS="ITEM_SAVINGS_BUYNOW_TEXT" id="savings_bids_text2">
   - <? print $ITEM_PAGE_SAVINFS_BIDS_CREDITS_USED; ?> <? print print_money_nosymbol($average_bid_price2); ?>:      
  </DIV>
  <DIV CLASS="ITEM_SAVINGS_BUYNOW_DATA" id="savings_bids_total2">
  <? print $currency_symbol; ?><? print print_money_nosymbol($number_of_bids_total); ?>        
  </DIV>    
           <DIV CLASS="ITEM_SAVINGS_BUYNOW_TEXT">
  - <? print $ITEM_PAGE_SAVINGS_TAXES_SHIPPING_FEES; ?>:        
  </DIV>
  <DIV CLASS="ITEM_SAVINGS_BUYNOW_DATA" id="savings_tsh2">
    <? print $currency_symbol; ?><? print print_money_nosymbol($taxes_shipping_total); ?>     
  </DIV>            
     <DIV CLASS="ITEM_SAVINGS_BUYNOW_LINE"></DIV>    
             <DIV CLASS="ITEM_SAVINGS_TEXT_TOTAL">
  <? print $ITEM_PAGE_SAVINGS_TOTAL; ?>:        
  </DIV>
  <DIV CLASS="ITEM_SAVINGS_DATA_TOTAL" id="savings_total">
 <? print $savings_percentage2; ?>% or <? print $currency_symbol; ?><? print print_money_nosymbol($savings_total); ?>      
  </DIV>   
         <DIV CLASS="ITEM_SAVINGS_BUYNOW_LINE"></DIV>  
   </DIV>
        
        
        
       <? if ( $buy_now == 1){ ?>
              
        <DIV CLASS="ITEM_BUYNOW_BOX">      
                      <DIV CLASS="ITEM_SAVINGS_BUYNOW_HEADER">
  <? print $ITEM_PAGE_BUY_NOW_HEADER; ?>      
  </DIV>
  <DIV CLASS="ITEM_SAVINGS_BUYNOW_TEXT">
  + <? print $MSG_RETAIL_VALUE; ?>:          
  </DIV>
  <DIV CLASS="ITEM_SAVINGS_BUYNOW_DATA">
  <? print $currency_symbol; ?><? print print_money_nosymbol($item_retail_price); ?>    
  </DIV>  
  <DIV CLASS="ITEM_SAVINGS_BUYNOW_TEXT" id="buynow_bids_text2">
   - <? print $ITEM_PAGE_SAVINFS_BIDS_CREDITS_USED; ?> <? print print_money_nosymbol($average_bid_price2); ?>:      
  </DIV>
  <DIV CLASS="ITEM_SAVINGS_BUYNOW_DATA" id="buynow_bids_total2">
  <? print $currency_symbol; ?><? print print_money_nosymbol($number_of_bids_total); ?>        
  </DIV>    
           <DIV CLASS="ITEM_SAVINGS_BUYNOW_TEXT">
  + <? print $ITEM_PAGE_SAVINGS_TAXES_SHIPPING_FEES; ?>:          
  </DIV>
  <DIV CLASS="ITEM_SAVINGS_BUYNOW_DATA" id="buynow_tsh2">
    <? print $currency_symbol; ?><? print print_money_nosymbol($tax_total_buynow); ?>     
  </DIV>            
            
         <DIV CLASS="ITEM_SAVINGS_BUYNOW_LINE"></DIV>  
             <DIV CLASS="ITEM_SAVINGS_TEXT_TOTAL">
  <? print $ITEM_PAGE_BUY_NOW_TOTAL; ?>:        
  </DIV>
  <DIV CLASS="ITEM_SAVINGS_DATA_TOTAL" id="buynow_total">
  <? print $currency_symbol; ?><? print print_money_nosymbol($buynow_total); ?>      
  </DIV>   
          
         <DIV CLASS="ITEM_SAVINGS_BUYNOW_LINE"></DIV>  
   
   <DIV CLASS="ITEM_BUYNOW_LIMIT_TEXT">
  <font size=-2 >* <? print $ITEM_PAGE_BUY_NOW_NOTE; ?></font>          
  </DIV> 
  
      <DIV CLASS="ITEM_BUYNOW_BUTTON">

            <? if($_SESSION["PHPAUCTION_LOGGED_IN"]) { ?>
           <FORM NAME=conf2 ACTION=buynow_paypal_create.php METHOD=POST>
<input type=submit value="<? print $MSG_496; ?>">
      <input type=hidden class=EDITDATA44 name=id size=4 maxlength=8 value="<?=$item_auction_id ?>" />     
        </form>  
       <? } ?>
                   <? if(!$_SESSION["PHPAUCTION_LOGGED_IN"]) { ?>
           <FORM NAME=conf2 ACTION=user_login.php METHOD=POST>
<input type=submit value="<? print $MSG_259; ?>">
         </form>  
       <? } ?>
        
  </DIV> 
  
        
   </DIV>   
            <? } ?>
              
              <? if ( $buy_now == 0){ ?>
              
        <DIV CLASS="ITEM_BUYNOW_BOX" style="background-image:none;"  >   
</DIV>   
            <DIV CLASS="ITEM_BUYNOW_BOX" style="display:none" >  
                                              <DIV CLASS="ITEM_SAVINGS_BUYNOW_HEADER">
  <? print $ITEM_PAGE_BUY_NOW_HEADER; ?>      
  </DIV>
  <DIV CLASS="ITEM_SAVINGS_BUYNOW_TEXT">
  + <? print $MSG_RETAIL_VALUE; ?>:          
  </DIV>
  <DIV CLASS="ITEM_SAVINGS_BUYNOW_DATA">
  <? print $currency_symbol; ?><? print print_money_nosymbol($item_retail_price); ?>    
  </DIV>  
  <DIV CLASS="ITEM_SAVINGS_BUYNOW_TEXT" id="buynow_bids_text2">
   - <? print $ITEM_PAGE_SAVINFS_BIDS_CREDITS_USED; ?> <? print print_money_nosymbol($average_bid_price2); ?>:      
  </DIV>
  <DIV CLASS="ITEM_SAVINGS_BUYNOW_DATA" id="buynow_bids_total2">
  <? print $currency_symbol; ?><? print print_money_nosymbol($number_of_bids_total); ?>        
  </DIV>    
           <DIV CLASS="ITEM_SAVINGS_BUYNOW_TEXT">
  + <? print $ITEM_PAGE_SAVINGS_TAXES_SHIPPING_FEES; ?>:          
  </DIV>
  <DIV CLASS="ITEM_SAVINGS_BUYNOW_DATA" id="buynow_tsh2">
    <? print $currency_symbol; ?><? print print_money_nosymbol($tax_total_buynow); ?>     
  </DIV>            
            
         <DIV CLASS="ITEM_SAVINGS_BUYNOW_LINE"></DIV>  
             <DIV CLASS="ITEM_SAVINGS_TEXT_TOTAL">
  <? print $ITEM_PAGE_BUY_NOW_TOTAL; ?>:        
  </DIV>
  <DIV CLASS="ITEM_SAVINGS_DATA_TOTAL" id="buynow_total">
  <? print $currency_symbol; ?><? print print_money_nosymbol($buynow_total); ?>      
  </DIV>   
          
         <DIV CLASS="ITEM_SAVINGS_BUYNOW_LINE"></DIV>  
   
   <DIV CLASS="ITEM_BUYNOW_LIMIT_TEXT">
  <font size=-2 >* <? print $ITEM_PAGE_BUY_NOW_NOTE; ?></font>          
  </DIV> 
  
      <DIV CLASS="ITEM_BUYNOW_BUTTON">

            <? if($_SESSION["PHPAUCTION_LOGGED_IN"]) { ?>
           <FORM NAME=conf2 ACTION=buynow_paypal_create.php METHOD=POST>
<input type=submit value="<? print $MSG_496; ?>">
      <input type=hidden class=EDITDATA44 name=id size=4 maxlength=8 value="<?=$item_auction_id ?>" />     
        </form>  
       <? } ?>
                   <? if(!$_SESSION["PHPAUCTION_LOGGED_IN"]) { ?>
           <FORM NAME=conf2 ACTION=user_login.php METHOD=POST>
<input type=submit value="<? print $MSG_259; ?>">
         </form>  
       <? } ?>
        
  </DIV> 
  
        
   </DIV>
           
              
              
              
              <? } ?>
       
        
        
        
        
          
          
          
          
                <? if ( $page_counter1 == 1 ) { ?>
      <DIV CLASS="ITEM_COUNTER_TEXT">
                                    <? } ?>
                                    
                                                                  <? if ( $page_counter1 == 0 ) { ?>
      <DIV CLASS="ITEM_COUNTER_TEXT" style="display:none;">
                                    <? } ?>
  
  <? print $ITEM_PAGE_THIS_AUCTION_HAS_BEEN_VIEWED; ?> <FONT COLOR=red><SPAN ID=counter1>&#160; <? print $item_page_counter; ?> &#160;</SPAN></FONT> <? print $ITEM_PAGE_TIMES; ?>.   


  </DIV>
          
          
          
           
 
                    
                    <DIV CLASS="DESCRIPTION_AUCTIONS_BOX_ON">
                     <DIV CLASS="DESCRIPTION_AUCTIONS_BOX_TOP" >
    
    
    <DIV CLASS="ITEM_DESCRIPTION_HEADER_TEXT">
  
  
  <STRONG><? print $MSG_087 ?>:</STRONG><BR>



  </DIV>
  
  
     
       </DIV>
  
                 
            
        <DIV style="margin:10px 10px 10px 10px;" >                        
  <? print $item_description; ?>

      
                </DIV>
   
   
           </DIV>
          
  
         
               <DIV CLASS="DESCRIPTION_AUCTIONS_BOX_BOTTOM" >
                      </DIV>
                      <? print $item_page_title_content_box_stop; ?>
            
                         <DIV style="display:none" id="seatsfull_language"><? print $MSG_SEATS_FULL; ?></DIV>
      <DIV style="display:none" id="lockout_language"><? print $MSG_LOCKOUT; ?></DIV>
                   <DIV style="display:none" id="elite_limit_language"><? print $MSG_ELITE_WIN_LIMIT; ?></DIV>
                        <DIV style="display:none" id="inactivity_language"><? print $INACTIVITY_MESSAGE; ?></DIV>
             <DIV style="display:none" id="takingachance_language"><? print $taking_a_chance2; ?></DIV>
           <DIV style="display:none" id="loggedin"><? print $_SESSION["PHPAUCTION_LOGGED_IN"] ; ?></DIV>   
        <DIV style="display:none" id="endtimee"></DIV>
        <DIV style="display:none" id="currenttimee"></DIV>
        <DIV style="display:none" id="paused"><? print $paused; ?></DIV>
        <DIV style="display:none" id="pausedtext">Paused!</DIV>
        <DIV style="display:none" id="closed_reserve"><? 
        
             srand ((double) microtime( )*1000000); 
$randomly_select_reserve = rand(40, 70 );
         $randomly_select_reserve2 = $randomly_select_reserve * .01;
    $reserve = $reserve_price * $randomly_select_reserve2;
      $reserve = round($reserve, 2);
 $reserve = number_format($reserve, 2);        
        
        
        print  $reserve; ?></DIV>
        <DIV style="display:none" id="closed_bid"><? print $item_current_bid; ?></DIV>
        <DIV style="display:none" id="days_language"><? print $MSG_377; ?></DIV>
            <DIV style="display:none" id="notsold_language"><? print $MSG_NOTSOLD; ?></DIV>
     <DIV style="display:none" id="sold_language"><? print $MSG_SOLD; ?></DIV>
      <DIV style="display:none" id="reserve_language"><? print $MSG_RESERVENOTMET; ?></DIV>
          <DIV style="display:none" id="goingonce_language"><? print $MSG_GOINGONCE; ?></DIV>               
           <DIV style="display:none" id="goingtwice_language"><? print $MSG_GOINGTWICE; ?></DIV>
     <DIV style="display:none" id="finalcall_language"><? print $MSG_FINALCALL; ?></DIV>
     <DIV style="display:none" id="nowopen_language"><? print $MSG_NOWOPEN; ?></DIV>
     <DIV style="display:none" id="go_language"><? print $MSG_GO; ?></DIV>
      <DIV style="display:none" id="getset_language"><? print $MSG_GETSET; ?></DIV>
      <DIV style="display:none" id="onyourmark_language"><? print $MSG_ONYOURMARK; ?></DIV>
        <DIV style="display:none" id="beginning_limit_language"><? print $MSG_BEGINNER_WIN_LIMIT; ?></DIV>
      <DIV style="display:none" id="daily_limit_language"><? print $MSG_WIN_LIMIT_DAILY_POPUP_NOTE; ?></DIV>
      <DIV style="display:none" id="weekly_limit_language"><? print $MSG_WIN_LIMIT_WEEKLY_POPUP_NOTE; ?></DIV>
      <DIV style="display:none" id="monthly_limit_language"><? print $MSG_WIN_LIMIT_MONTHLY_POPUP_NOTE; ?></DIV>
      <DIV style="display:none" id="large_button3">images/bid_button_large_3<? print $USERLANG; ?>.jpg</DIV>
      <DIV style="display:none" id="large_button5">images/bid_button_large_5<? print $USERLANG; ?>.jpg</DIV>
      <DIV style="display:none" id="large_button6">images/bid_button_large_6<? print $USERLANG; ?>.jpg</DIV>
                 